Skip to content

Update: dispatch NEXT_LEVEL groups exactly - #1440

Closed
puddingfjz wants to merge 3 commits into
hw-native-sys:mainfrom
puddingfjz:codex/directed-scheduling-pr3
Closed

Update: dispatch NEXT_LEVEL groups exactly#1440
puddingfjz wants to merge 3 commits into
hw-native-sys:mainfrom
puddingfjz:codex/directed-scheduling-pr3

Conversation

@puddingfjz

Copy link
Copy Markdown
Contributor

Depends on #1438.
Incremental commit: afbac79.
Do not merge before #1438.

- Add four executable rollout plans with bounded PR scopes
- Require exact worker ids for single and group NEXT_LEVEL submits
- Validate malformed, unknown, and ineligible worker targets
- Migrate maintained call sites while keeping SUB placement unchanged
Add fixed per-worker ready queues for directed NEXT_LEVEL single tasks and share the READY routing path between submission and dependency release. Keep group and SUB scheduling behavior unchanged, document the transitional queue topology, and cover FIFO and independent-worker progress.
Add a dedicated FIFO for directed NEXT_LEVEL groups and launch only the head when every requested worker is idle. Keep blocked groups unreserved, preserve launchable-group-first ordering, and cover exact mapping, group/single contention, and one-time dependency release.
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@puddingfjz, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 46 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: cff9c09b-47c0-40c4-a82a-dc7d4edb711c

📥 Commits

Reviewing files that changed from the base of the PR and between 56919a7 and afbac79.

📒 Files selected for processing (35)
  • docs/callable-identity-registration.md
  • docs/directed-next-level-scheduling/pr1-explicit-placement-contract.md
  • docs/directed-next-level-scheduling/pr2-per-worker-single-queues.md
  • docs/directed-next-level-scheduling/pr3-group-ready-queue.md
  • docs/hierarchical_level_runtime.md
  • docs/orchestrator.md
  • docs/remote-l3-worker-design.md
  • docs/scheduler.md
  • docs/task-flow.md
  • examples/workers/l3/README.md
  • examples/workers/l3/per_task_runtime_env/README.md
  • examples/workers/l3/per_task_runtime_env/main.py
  • python/bindings/worker_bind.h
  • python/simpler/orchestrator.py
  • python/simpler/worker.py
  • src/common/hierarchical/orchestrator.cpp
  • src/common/hierarchical/orchestrator.h
  • src/common/hierarchical/scheduler.cpp
  • src/common/hierarchical/scheduler.h
  • src/common/hierarchical/types.cpp
  • src/common/hierarchical/types.h
  • src/common/hierarchical/worker.cpp
  • src/common/hierarchical/worker.h
  • src/common/hierarchical/worker_manager.cpp
  • src/common/hierarchical/worker_manager.h
  • tests/st/a2a3/tensormap_and_ringbuffer/dynamic_register/test_dynamic_register.py
  • tests/st/a2a3/tensormap_and_ringbuffer/test_l3_dependency.py
  • tests/st/a2a3/tensormap_and_ringbuffer/test_l3_group.py
  • tests/ut/cpp/hierarchical/test_orchestrator.cpp
  • tests/ut/cpp/hierarchical/test_scheduler.cpp
  • tests/ut/py/test_callable_identity.py
  • tests/ut/py/test_worker/test_child_addr_guard.py
  • tests/ut/py/test_worker/test_error_propagation.py
  • tests/ut/py/test_worker/test_l4_recursive.py
  • tests/ut/py/test_worker/test_startup_readiness.py

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@puddingfjz puddingfjz closed this Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant